package com.jzo2o.foundations.controller.operation;


import com.jzo2o.api.customer.dto.response.ServeProviderResDTO;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.foundations.model.dto.request.ServePageQueryReqDTO;
import com.jzo2o.foundations.model.dto.response.ServeResDTO;
import com.jzo2o.foundations.service.IServeService;
import io.swagger.annotations.ApiOperation;
import org.checkerframework.checker.units.qual.Acceleration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 服务表 前端控制器
 * </p>
 *
 * @author 郭瑞军
 * @since 2025-01-16
 */
@RestController
@RequestMapping("operation/serve")
public class ServeController {
    @Autowired
    IServeService serveService;
 /*
 * 区域分页查询
 * */
    @GetMapping("/page")
    @ApiOperation("区域分页查询")
    public PageResult<ServeResDTO> queryServeList(ServePageQueryReqDTO dto){

      return serveService.queryServeList(dto);

    }

}
